<div class="path"><i class="iconfont">&#xf108;</i>  <a href="{url('default/welcome')}">开始</a> / <a href="###">管理员</a></div>
<div class="m10">
<div class="table-head fn-clear">
	<div class="fn-l"><a href="{url('user/index')}" class="button"> <i class="iconfont">&#xf0ca;</i> 列表</a><strong>管理员列表</strong></div>
	<div class="fn-r"><a href="{url('user/edit')}" class="button button-blue"> <i class="iconfont" title="添加用户">&#xf055;</i> 添加用户</a></div>
</div>
<table class="table">
<thead >
	<tr><th class="w20 fn-tac">#</th><th class="w150">所属站点</th><th>用户名称</th><th class="w150 fn-tac">管理等级</th><th class="w150 fn-tac">最后登录时间</th><th class="w100 fn-tac">最后登录IP</th><th class="w60 fn-tac">管理操作</th></tr>
</thead>
<tbody>
{foreach $rel as $rs}
<tr>
	<td class="w20 fn-tac">{$rs[id]}</td>
	<td class="fn-f14"> <i class="iconfont">&#xf015;</i> {if $rs[website_name]}{$rs[website_name]} [ <span class="blue">http://{$rs[url]} </span>]{else}所有网站{/if}</td>
	<td>{$rs[username]}</td>
	<td class="w150 fn-tac">{$rs['group_name']}</td>
	<td class="w150 fn-tac">{date('Y-m-d H:i:s',$rs['login_time'])}</td>
	<td class="w100 fn-tac">{$rs[login_ip]}</td>
	<td class="w80 fn-tac">
		<a class="win" href="{url('user/edit',array('fid'=>$rs[id]))}" title="编辑用户">编辑</a>
{if $rs[id]<>1} / <a class="del" href="###" url="{url('user/index',array('fid'=>$rs[id],'act'=>'del'))}">删除</a>{/if}
	</td>
</tr>
{/foreach}
</tbody>
</table>
<div id="page" class="fn-clear">{$pager}</div>
</div>
<script type="text/javascript">
Do('base','dialog',function(){
	$('.del').click(function(){$(this).del();});
})
</script>
